<template>
	<div>
		<h1>首页</h1>
		<p class="active">{{msg}}</p>
		<input type="text" v-model="msg">
	</div>
</template>
<script>
	export default{
		data(){
			return{
				msg:"向着星辰与深渊"
			}
		}
	}
</script>
<style scoped="scoped">
	/* scoped 样式隔离，对其他组件不影响 */
	.active{
		color:red
	}
</style>